﻿<?php
require $this->__RAD__ . 'component/global/head.php';
?>
<body>
<?php
require $this->__RAD__ . 'component/global/header.php';
?>
<div class="news content">
    <?php
    if ($this->aryAd) :
        ?>
        <div class="banner">
            <img src="<?= $this->__CDN__ ?>pics/l/<?= $this->aryAd[0]->ad_img ?>" alt="">
        </div>
        <?php
    endif;
    ?>
    <p class="title">
        News
    </p>
    <ul class="news-list">
        <?php
        if ($this->currentListRs) :
        foreach ($this->currentListRs as $val) :
        ?>
        <li>
            <a href="/news/detail/<?= $val->archives_id ?>">
                <div class="w1200 clearboth">
                    <div class="img-box fl">
                        <img src="<?= $this->__CDN__.'pics/l/'.$val->cover ?>" alt="<?= $val->title ?>">
                    </div>
                    <div class="box fr">
                        <p class="tit"><?= $val->title ?></p>
                        <p class="time"><?= date("Y-m-d", $val->release_date) ?></p>
                        <p class="detail"><?= $val->synopsis ?></p>
                    </div>
                </div>
            </a>
        </li>
            <?php
        endforeach;
        endif;
        ?>
    </ul>
    <div class="w1200">
        <?php
        require $this->__RAD__ . 'component/global/getPages.php';
        ?>
    </div>
</div>
<?php
require $this->__RAD__ . 'component/global/footer.php';
?>
<script>
    $(function(){

    })
</script>
</body>
</html>